package org.komarichin.beans;

import java.util.Date;

/**
 * <p>
 * &nbsp; Interface describe entry which present connect
 * </p>
 * User: Michael Komarichin
 * Date: Mar 6, 2010
 * Time: 12:33:57 AM
 */
public interface IComment<PK> extends IGenericEntity<PK> {
    /**
     * @return content for comment
     */
    String getContent();

    /**
     * @param content content for comment
     */
    void setContent(String content);

    /**
     * @return user email who post comment
     */
    String getEmail();

    /**
     * @param email user email who post comment
     */
    void setEmail(String email);

    /**
     * @return user name or nick name
     */
    String getUser();

    /**
     * @param user user name or nick name
     */
    void setUser(String user);

    /**
     * @return publishing date
     */
    Date getCreate();

    /**
     * @param create publishing date
     */
    void setCreate(Date create);
}
